package com.zwb.boot;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 头发又黑又长
 * @Date 2022/7/17 21:13
 * @email zwb15083976291@163.com
 */
@Slf4j
@EnableAspectJAutoProxy // 开启切面
@SpringBootApplication
@EnableTransactionManagement // 开启事务
@EnableCaching // 开启缓存
//@ComponentScan({"com.zwb.boot.*"})
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class, args);
    }
}
